#define _CRT_SECURE_NO_WARNINGS 1
#include "seqlist.h"
int main()
{

	SL s;
	SLInit(&s);
	seqlistpushback(&s, 1);
	seqlistpushback(&s, 2);
	seqlistpushback(&s, 3);
	seqlistpushback(&s, 4);
	seqlistpushback(&s, 5);
	seqlistpushback(&s, 6);
	seqlistpushback(&s, 7);
	seqlistprint(&s);


	seqlistpopback(&s);
	seqlistpopback(&s);
	seqlistpopback(&s);
	seqlistpopback(&s);
	seqlistprint(&s);

	seqlistpopback(&s);
	seqlistpushback(&s, 10);
	seqlistpushback(&s, 20);
	seqlistprint(&s);

	seqlistinsert(&s, 2, 9);
	seqlistprint(&s);

	seqlistpushfront(&s, 10);
	seqlistprint(&s);

	seqlistrelease(&s, 0);
	seqlistprint(&s);
	int c = seqlistfind(&s, 9);
	printf("%d", c);
	return 0;
}